package org.tao.lightningmq.common.event;

import org.tao.lightningmq.common.event.model.BaseEvent;

/**
 * @Author lht
 * @date 2025/1/7 - 19:38
 * @description:
 */
public interface Listener<E extends BaseEvent> {

    void onReceive(E event) throws Exception;

}
